home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 4 / USEnet 4.67 < prev    next >
Encoding:
Text File  |  1988-06-18  |  44.4 KB  |  1,072 lines  |  [TEXT/ttxt]

  1.  
  2. List (Unformatted): USENET MAC DIGEST V4 #67
  3.  
  4.  
  5. Usenet Mac Digest     Friday, May 20, 1988           Volume 4 : Issue 67
  6.  
  7. Today's Topics:
  8.      Re: Prob with LaserWriter II NTX and font disk
  9.      MAC to VAX/VMS Connection info wanted
  10.      need help with font files
  11.      Viruses and Tamper-Proof Packaging
  12.      Re: What's the best NETWORK?
  13.      Utilities for RGB to 8-Bit
  14.      Re: Prob with LaserWriter II NTX and font disk
  15.      Math Word Processing
  16.      Re: X-Windows on the Mac
  17.      Re: Brief overview of FullWrite (Re
  18.      Re: MAC to VAX/VMS Connection info wanted
  19.      Building a SCSI disk (Long Summary)
  20.      Re: Getting started in Mac programming...
  21.      Re: Writing PICT files
  22.      Anyone using pcl (clos) under Allegro Common Lisp?
  23.      "Asynchronous" processing in Allegro Common Lisp?
  24.      Re: Anyone using pcl (clos) under Allegro Common Lisp? (2 messages)
  25.      Re: suppress display of password entry
  26.      Re: Utilities for RGB to 8-Bit
  27.  
  28. ----------------------------------------------------------------------
  29.  
  30. From: ecs165s052@deneb.ucdavis.edu (0000;0000015000;4000;250;216;ecs165s)
  31. Subject: Re: Prob with LaserWriter II NTX and font disk
  32. Date: 19 May 88 01:04:12 GMT
  33. Organization: University of California, Davis
  34.  
  35. I've used an Everex EMAC-20 as a font disk for about a month now with no
  36. problems.  Just use the LaserWriter Font Utility to initialize the disk
  37. and away you go!
  38. --
  39. ----------------------------------------------------------------
  40. Registrar:
  41.     from the latin "registrarum" meaning "screw the student"
  42. ----------------------------------------------------------------
  43. Greg DeMichillie               |{ucbvax, lll-crg, sdcsvax}
  44. lgdemichillie@ucdavis.edu      |      !ucdavis!lgdemichillie
  45. or ecs165s052@ucdavis.edu      |
  46. AppleLink : ST0178             |
  47. ----------------------------------------------------------------
  48.  
  49.  
  50. ------------------------------
  51.  
  52. From: rodger@comp.lancs.ac.uk (baby!!)
  53. Subject: MAC to VAX/VMS Connection info wanted
  54. Date: 17 May 88 10:20:17 GMT
  55. Organization: Department of Computing at Lancaster University, UK.
  56.  
  57. Ho hum, here we go again,.....
  58.         I'm looking for information relating to the connection of appletalk
  59. networks with lots of Mac's on, to DECNET over ethernet with lots of
  60. VAX/MicroVAX on. What I need to know is -
  61.  
  62.         a) Whats availaible for connecting the two networks together
  63.  
  64.         b) What software packages run on the two types of machines that allow
  65.            file transfer/sharing, mail, virtual disk, etc etc, etc.....
  66.  
  67. About the only info I do have at the moment is some scant comments on
  68. the kinetics fastpath bridge....so I'm looking for anything and
  69. everything.
  70.  
  71. I know this is rather a broad request, and no doubt it'll turn up in
  72. news groups where its not wanted, apologies in advance etc and cheers
  73. for any help, mail me with any info, try not to clutter up the groups,
  74. if I get enough info I'll summerise and post as is the custom.
  75.  
  76. cheers rodge....
  77.  
  78. Mac/VAX/MicroVAX/Fastpath etc etc are probably all trademarks of
  79. somebody.
  80. --
  81. -------------------------------------------------------------------------------
  82. janet:  rodger@uk.ac.lancs.comp           Department of Computing
  83. arpa:   rodger@comp.lancs.ac.uk           University of Lancaster
  84. uucp:   ...!mcvax!ukc!dcl-cs!rodger       Bailrigg, Lancaster, LA1 4YR, UK
  85.  
  86.  
  87. ------------------------------
  88.  
  89. From: rusty@BOSCO.BERKELEY.EDU
  90. Subject: need help with font files
  91. Date: 19 May 88 05:19:24 GMT
  92.  
  93. I'm trying to read font/da mover files on unix with a C program that I
  94. am writing.  IM vol. I isn't as clear as I'd wish.  Does anybody have
  95. any C code that reads and displays a mac font file? I'm currently stuck
  96. on getting the bit images out of the bitImage array in the FontRec.
  97. Please mail it to me; I don't read this newsgroup.  Thanks.
  98.  
  99. --------------------------------------
  100.         rusty c. wright
  101.         rusty@ucbvax.berkeley.edu ucbvax!cartan!rusty
  102.  
  103.  
  104. ------------------------------
  105.  
  106. From: letovsky-stanley@yale.UUCP
  107. Subject: Viruses and Tamper-Proof Packaging
  108. Date: 19 May 88 15:57:46 GMT
  109. Organization: (none)
  110.  
  111. >From: Stanley Letovsky <letovsky-stanley>
  112.  
  113. Re:   Atul Butte's proposal for "tamper-proof packaging" for software to
  114. prevent dissemination of software viruses (Comp.sys.mac Sun, 08 May 88):
  115.  
  116.       Butte proposes a variation on the one-way encryption functions of
  117. public key cryptography schemes which could encrypt software in a way
  118. that ensures that the software actually came straight from the vendor.
  119. He also suggests that the decryption key could somehow be provided along
  120. with the encrypted software.  His proposal is interesting, and seems
  121. viable in its overall framework, but one detail is problematic.  One
  122. cannot distribute the decryption key with the encrypted software:  any
  123. evil hacker could create such a package, encrypting virus-infected
  124. software and supplying his own key.  The decryption keys must be
  125. publicly posted in such a way that the consumer could have absolute
  126. confidence that they belong to a reputable firm, while the firm is
  127. responsible for ensuring that they alone know how to encrypt for their
  128. publicly posted decryption key.
  129.  
  130.       Incidentally, Butte's scheme would seem to have implications for
  131. preventing software bootlegging.  The vendor could supply the decryption
  132. key only to customers with proof of purchase.  Bootleggers would have to
  133. risk virus infection.  Vendors might even be motivated to distribute
  134. infected bootleg copies around the marketplace, so as to heighten demand
  135. for the genuine article.  Of course, they could do that even without
  136. tamper-proof packaging...
  137.  
  138.                         Stan Letovsky    letovsky@yale.edu
  139.                         David Littman    littman-david@yale.edu
  140.  
  141.  
  142.  
  143. ------------------------------
  144.  
  145. From: paul@aucs.UUCP (Paul Steele)
  146. Subject: Re: What's the best NETWORK?
  147. Date: 18 May 88 11:58:59 GMT
  148. Organization: School of Computer Science, Acadia Univ., Nova Scotia
  149.  
  150. I just saw a demo of MacJANET 2.0 at the Apple Educational Symposium.
  151. This new version has several improvements, such as multiple (named) file
  152. servers, better print spooling and control of print jobs, program usage
  153. restriction, program quotas, software encryption (which makes piracy
  154. VERY difficult), and a much improved administration program.  Waterloo
  155. has done a good job on this new release.  Now I just have to wait for
  156. our copy.
  157.  
  158. Incidently, Waterloo is setting up a new Macintosh lab consisting of 60
  159. Mac II's networked using ethernet.  I sure wish we had that kind of
  160. money!
  161.  
  162. --
  163. Paul H. Steele      USENET:   {uunet|watmath|utai|garfield}!dalcs!aucs!Paul
  164. Acadia University   BITNET:   Paul@Acadia
  165. Wolfville, NS       Internet: Paul%Acadia.BITNET@CUNYVM.CUNY.EDU
  166. CANADA  B0P 1X0     (902) 542-2201x587
  167.  
  168.  
  169. ------------------------------
  170.  
  171. From: richr@ai.etl.army.mil (Richard Rosenthal)
  172. Subject: Utilities for RGB to 8-Bit
  173. Date: 19 May 88 12:04:11 GMT
  174. Organization: USAETL, Fort Belvoir, Virginia
  175.  
  176.  
  177.         I have a 24-bit color image on VAX with UNIX:
  178.             8-bit red
  179.             8-bit green
  180.             8-bit blue
  181.  
  182.         I want to display this on Mac II, 8-bit video.
  183.  
  184.         Any suggestions?
  185.  
  186. --
  187. Richard Rosenthal                            | ARPANET:  richr@etl.arpa
  188. US Army Engineer Topographic Laboratories    | UUCP:     (use ARPANET)
  189. Ft. Belvoir, VA 22060-5546                   | PHONE:    +1 202 355 2830
  190.  
  191.  
  192. ------------------------------
  193.  
  194. From: ephraim@think.COM (ephraim vishniac)
  195. Subject: Re: Prob with LaserWriter II NTX and font disk
  196. Date: 19 May 88 12:52:53 GMT
  197. Organization: Thinking Machines Corporation, Cambridge, MA
  198.  
  199. >2. It must be able to report to the printer what size volume it is.
  200. >   This is done via the SCSI command "Mode Select".
  201.  
  202. Mode Select allows the host to *set* (i.e. select) various
  203. characteristics of the drive.  Mode *Sense* is the command that allows
  204. the host to retrieve the drive characteristics.  This is probably the
  205. command that Jim Kateley's thinking of.
  206.  
  207. Mode Sense is a tough way to get the size of the drive, though.  Read
  208. Capacity is much easier since it simply returns the sector size and last
  209. sector number, with no other junk to parse.
  210. --
  211. Ephraim Vishniac                                          ephraim@think.com
  212. Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214
  213.  
  214.      On two occasions I have been asked, "Pray, Mr. Babbage, if you put
  215.      into the machine wrong figures, will the right answers come out?"
  216.  
  217.  
  218. ------------------------------
  219.  
  220. From: raday@thunder.UUCP (Alan Day)
  221. Subject: Math Word Processing
  222. Date: 18 May 88 06:00:44 GMT
  223. Organization: Lakehead University; Thunder Bay, Ont
  224.  
  225.  
  226. I would like to reiterate some points discussed in earlier submissions
  227. on Math typesetting for the Mac. Hopefully FullWrite and/or Nissus (even
  228. Word?) might include these in future releases.
  229.  
  230. Aside from display equations (which a DA can handle well enough),  a
  231. mathematician needs to imbed limited symbol constructs in paragraph
  232. text. To do this, two features already implemented in LaserAuthor (the
  233. only good things in that programme) should not be that hard to put into
  234. any other WP programme.
  235.  
  236.         (1) multiple (adjustable?) levels of sub- and super-scripts. The
  237. adjustment might be necessary if the default settings are not correct as
  238. in Word. (Anyone know how to FEdit these values for Word? The
  239. workarounds that I know are very time consuming and unnatural.)
  240.  
  241.         (2) Intuitive CHARACTER overstrike capability (LaserAuthor used
  242. COMMAND-backspace between the characters). This would allow writing e.g.
  243. NOT less than, and x sub i super j in paragraph text easily.
  244.  
  245.         (3) a general wish would be macros and command-key assignment (which
  246. means the programme must not gobble up all possible assignments for
  247. obscure power user capabilities. Are you listening Word?)
  248.  
  249. Does anyone know of a WP package with these minor :-) abilities?
  250.  
  251.         Alan Day
  252.  
  253.  
  254. ------------------------------
  255.  
  256. From: magorian@umd5.umd.edu (Dan Magorian)
  257. Subject: Re: X-Windows on the Mac
  258. Date: 19 May 88 20:08:53 GMT
  259. Organization: University of Maryland, College Park
  260.  
  261. White Pine Software (94 Route 101A, PO Box 1108, Amherst NH 03031) has
  262. announced a product called Mercury that is supposed to be an X Window
  263. server for the Mac OS.  It's not out yet even in beta, you can call them
  264. for the brochure. (603) 886-9050 (This isn't an ad, I'm quoting from
  265. their brochure - we hope to beta test it here when it's ready).
  266.  
  267.  
  268. ------------------------------
  269.  
  270. From: chuq@plaid.Sun.COM (Chuq Von Rospach)
  271. Subject: Re: Brief overview of FullWrite (Re
  272. Date: 19 May 88 16:27:02 GMT
  273. Organization: Fictional Reality
  274.  
  275. >general are failures also?   I don't think so.  People who can't understand
  276. >why we need WYSWYG are failures, and personally I like to be able to see
  277. >what my work is going to look like while I'm working on it.
  278.  
  279. I think this is being overly harsh. I'm a BIG fan of WYSIWYG. But I'm
  280. also a hardcore writer who types 100WPM or so. And when I'm writing, I
  281. dont' want to edit, I don't want to format, and I don't want to make it
  282. pretty. All my work goes through at least three phases: getting the
  283. damned words into the system, getting the damned words spelled write and
  284. getting the damned words looking right and back out of the system.
  285.  
  286. The problem with most WYSIWYG systems is that they are designed with
  287. doing all three at the same time, and fight anyone who just wants to
  288. dump words into the system at the greatest possible speed with the
  289. fewest interruptions. This is very true of FullWrite, for instance.
  290. Microsoft Word's one great advantage is that when I just want to write,
  291. it'll sit back and stay out of the way -- although they to some degree
  292. go too far in that direction and make it hard tweak the words with that
  293. ugly user interface of theirs.
  294.  
  295. If there was one thing I'd really like to see in FWP in a future
  296. release, it is a "Turn off the repagination and WYSIWYG" mode. The
  297. delays it tosses at me when I cross a page boundary ("Oh! Page boundary!
  298. Draw a new page! move the text! put up the header! scroll the screen!
  299. Okay, you can write again now") can be very distracting if they hit at
  300. the wrong time -- writing is hard enough work without having the word
  301. processor arguing with you. Another thing I'd like to be able to turn
  302. off is FWP's insistence on showing the entire page of blank paper when
  303. you have things like pictures that shift to the next page. I'd love to
  304. be able to scrunch that page down to just the size necessary to show
  305. what's on it -- the WYSIWYG setup is nice enough that I can still tell
  306. where the beginning and ending of the page are, which is Good Enough.
  307.  
  308. (and if this sounds like Griping, well, yes, it is. Bul I'll be damned
  309. if I go back to Word 3.0, and I'm already finding that I'm retraining my
  310. writing habits to take FWP's quirks into account. Another couple of
  311. weeks, and I probably won't be bothered at all by most of them, except
  312. possibly subliminally. Just to put the griping into perspective....)
  313.  
  314. Chuq Von Rospach                        chuq@sun.COM            Delphi: CHUQ
  315.  
  316.         Robert A. Heinlein: 1907-1988. He will never truly die as long as we
  317.                            read his words and speak his name. Rest in
  318. Peace.
  319.  
  320.  
  321. ------------------------------
  322.  
  323. From: shulman@slb-sdr.UUCP (Jeff Shulman)
  324. Subject: Re: MAC to VAX/VMS Connection info wanted
  325. Date: 20 May 88 14:50:26 GMT
  326. Organization: Schlumberger-Doll Research, Ridgefield CT
  327.  
  328. AlisaSystems (1-800-99-ALISA) has (at least) two products you might be
  329. interested in:  AlisaShare and TSSNet.
  330.  
  331. AlisaShare (currently in beta test) turns any Vax into an AppleShare
  332. server. I believe Alisa has recently licensed the AppleShare software to
  333. go on the Macs.
  334.  
  335. TSSNet turns any Mac into a DECNET end node.  You need one copy for each
  336. Mac.  You get mail, file transfer and DECNET terminal (through your
  337. current terminal emulator).
  338.  
  339. TOPS is also coming out with a version of its software for VMS.  You
  340. would need to have TOPS for each Mac you wanted to have VAX access.
  341.  
  342. Disclaimer: We are a beta test site for Alisa but I would recommend
  343. their stuff anyway.  We are also beta testing VMS TOPS but haven't
  344. received it yet (RSN).  Also, these are my personal opinions and do not
  345. necessarily reflect the opinions of my employer.
  346.  
  347.                                                         Jeff
  348. --
  349. uucp:     ...rutgers!yale!slb-sdr!shulman
  350. CSNet:    SHULMAN@SDR.SLB.COM
  351. Delphi:   JEFFS
  352. GEnie:    KILROY
  353. CIS:      76136,667
  354. MCI Mail: KILROY
  355.  
  356.  
  357. ------------------------------
  358.  
  359. From: nasser@forbrk.UUCP (Nasser Lone)
  360. Subject: Building a SCSI disk (Long Summary)
  361. Date: 18 May 88 23:53:48 GMT
  362. Organization: Fortune Systems / SCI Technology  (Berkeley, CA)
  363.  
  364.  
  365. Sometime ago, I posted a query about putting together a SCSI drive for
  366. the Macintosh.  I have been working with SCSI drives on our UNIX box
  367. where we have a generic SCSI driver.  This driver conforms to the SCSI
  368. specifications and works with several different embedded SCSI drives.
  369. SCSI is nice in that it provides a generic format command so that the
  370. software does not have to worry about drive parameters such as number of
  371. heads, number of cylinders, etc.  The only parameter that should be
  372. provided is the block size.  There is also a read capacity command that
  373. can be used to find out the number of blocks on the drive.  So, I
  374. thought that it should be simple to do all this in the Mac world.
  375.  
  376. Based on what I have learned since my original posting, I still think
  377. that it should not be too hard to write general software that would be
  378. able to do all that is necessary, but it has not been done yet.  It
  379. seems to me that most of what has been done has built-in dependencies,
  380. so that the driver from one manufacturer will probably not work with a
  381. drive from another.
  382.  
  383. One thing to remember is that the Macintosh operating system does not
  384. include a driver for SCSI hard disks.  It includes a SCSI manager that
  385. can be used to communicate with SCSI devices, but the driver itself is
  386. placed on the drive from where it is loaded into the system at boot
  387. time. So anybody trying to build a drive has to write this driver (or
  388. modify an existing one).  Another piece of software needed is what is
  389. referred to as the formatter-installer.  This software issues the
  390. low-level format command to the drive, places the necessary information
  391. in blocks 0 and 1 on the drive, and puts the driver on the drive.  Thus
  392. the following steps take place in the process of building the drive:
  393.         1.  Format the drive (through the SCSI format command).
  394.         2.  Build block 0 (info about capacity, block size, driver, etc).
  395.         3.  Build block 1 (disk partition info).
  396.         4.  Place the driver on the disk.
  397.  
  398. There are many sources of help available.  I am listing below some that
  399. I have come across or that I have been told about.
  400.         -  Inside Macintosh Vol. IV -- chapter on SCSI.
  401.         -  Macintosh Tech Note 96.
  402.         -  Macintosh Tech Note 159 -- the purpose of this note seems to
  403.            be to discourage people from building SCSI drives.  I think
  404. it
  405.            is too negative for people who know about SCSI.
  406.         -  BMUG Fall 86 Newletter -- Building Your Own Hard Disk by Tim
  407.            Standing.  I was told that the author did not finish his
  408.            project.
  409.         -  SCSI Tools disk from APDA (Apple Professional Developers
  410.            Assoc.).  This disk contains a sample driver for the SCSI
  411.            disk.
  412.         -  The FS&I program from Ephraim Vishniac.  This shareware
  413.            program will prepare the hard disk and write a driver to it.
  414.            I used this program successfully on a drive; more on that
  415.            later.
  416.         -  Several people mentioned articles in MacTutor but I have not
  417.            seen those.
  418.  
  419. In terms of hardware, one needs the following:
  420.         1.  A case.
  421.         2.  Power supply.  I have been told that one should use a
  422.             switching power supply for this purpose.  Make sure that the
  423.             power supply can provide enough juice for the drive (and
  424.             controller if you are using one).
  425.         3.  The drive.
  426.         4.  A controller card if you are not using an embedded SCSI
  427.             drive.
  428.         5.  Cable from Mac DB25 port to Centronics 50-pin.  These are
  429.             widely available in the Bay Area (Fry's, MAC in Berkeley).
  430.         6.  Cable from 50-pin Centronics to 50-pin socket connector on
  431.             the drive (easy to build one).
  432.  
  433. I have done some experimentation so far.  I hooked up a drive to the Mac
  434. using some adhoc connectors and used Vishniac's FS&I program.  I was
  435. able to format a drive and subsequently boot from it.  However, I could
  436. not get the program to work with a CDC Wren III drive.  My co-worker was
  437. told by Dave Platt at Coherent Thought that FS&I and CDC Wren III are
  438. incompatible, something I do not understand.  To use the FS&I program,
  439. you have to manipulate resources using ResEdit.  You also have to know
  440. some things about the drive.  One complaint I had about the program is
  441. that it does all steps of formatting and initializing in one sequence.
  442. I think such a program should consist of three independent parts:
  443.         -   Format and build block 0.
  444.         -   Manipulate partition info.
  445.         -   Place the driver on the disk. Also, it seems that the driver that
  446. is part of this program does not support multiple-partitions.
  447.  
  448.  
  449. Following are the responses that I got to my query.  My thanks to all
  450. the people who took the time to help a fellow netter.
  451.  
  452.  
  453. Nasser          ...!pacbell!forbrk!nasser
  454.  
  455. ****************************************************************************
  456.  
  457. >From: sun!coherent!dplatt (Dave Platt)
  458. Organization: Coherent Thought Inc., Palo Alto CA
  459.  
  460. I'd recommend looking in the back of any of the popular electronics
  461. magazines, PC Shopper, and so forth... lots of ads for hardware, power
  462. supplies, cases, and so forth.  The simplest approach (although neither
  463. the cheapest nor the smallest) would be to buy a case and power-supply
  464. designed for a PC-clone, and install the disk in it.
  465.  
  466. If you buy a disk and controller that matches one of the combinations
  467. used by Apple, you could probably use HD SCSI Setup (or whatever it's
  468. called) to format and drive the disk.
  469.  
  470. A more general approach would be to use Ephraim Vishniac's SCSI
  471. Formatter and Installer package... it's shareware, includes two sample
  472. drivers (one for blind I/O and one for synchronized I/O), and is very
  473. flexible and easy to configure.  The shareware fee is a pint of blood,
  474. donated to your local Red Cross (or a cash donation).  SCSI F&I is
  475. available for anonymous FTP on SUMEX;  if you don't have FTP access and
  476. can't find a copy locally, let me know and I'll arrange to get you a
  477. copy.
  478.  
  479. Hacking a SCSI interface is not a task for the timid nor the unlearned!
  480.  
  481. Be warned that some drives (e.g. the newer CDC Wrens) will not work with
  482. the Mac Plus SCSI port... the Plus has a relatively buggy
  483. implementation.  There are some Apple tech notes relating to the SCSI
  484. port on the Plus;  let me know if you'd like me to dig 'em up for you.
  485.  
  486. You may find that the cost of putting together an effective SCSI drive
  487. may not be significantly less than the cost of buying a low-end drive of
  488. similar capabilities... once you add in the single-unit cost of a case,
  489. power supply, cable, and so forth.  Perhaps buying an external (or
  490. internal) drive from an existing manufacturer would be a better
  491. solution... only you can decide.
  492.  
  493. ****************************************************************************
  494.  
  495. >From: Juri Munkki <lll-tis!lll-crg!uunet!santra.hut.fi!jmunkki>
  496. Organization: Helsinki University of Technology, Finland
  497.  
  498. I recomment the Seagate ST277N. It is a 40 ms, 64 MB half height 5.25"
  499. drive with a built-in intelligent SCSI controller. It is relatively
  500. cheap.
  501.  
  502. Try the CMS software, if you don't mind using commercial software.
  503. Ephraim Vishniac's generic SCSI also works, but it has some problems.
  504. You might have to use Vishniac's formatter before the CMS formatter (I
  505. don't know why this it is this way. The CMS 60 is an ST277N).
  506.  
  507. Get yourself the Apple SCSI developers package and all the MacTutor
  508. back-issues that have SCSI drivers. It isn't nearly impossible to write
  509. one from scratch. Using the MacTutor examples it might be almost easy.
  510.  
  511. ****************************************************************************
  512.  
  513. >From: noao!naucse!pab%arizona.UUCP@ncar.UCAR.EDU (Paul Balyoz)
  514.  
  515. Carl Nelson and Associates in Seattle Wa. ,now called Software
  516. Architects, is selling their driver which several major hard drive
  517. vendors sell under their own label. I think their looking for $50,  and
  518. the installer software is very good. The address is:
  519.  
  520. ****************************************************************************
  521.  
  522. >From: lll-tis!ames!im4u!rolex!twb (Tom Bereiter)
  523.  
  524. About your question on the net concerning SCSI disks:  Software-wise the
  525. best thing you can do is to get hold of a copy of a shareware package
  526. designed expressly for attaching alien disks.  It's called something
  527. like "SCSI formatter" and is posted on the info-mac archives at
  528. sumex.standford.edu. You just edit some templates with ResEdit and end
  529. up with a custom formatter/ installer.  If you have trouble finding it
  530. let me know and I'll post it to  the net--seeing as this question comes
  531. up every few months.
  532.  
  533. ****************************************************************************
  534.  
  535. >From: ames!lll-lcc!csustan!psivax.psi.siemens.COM!rabbit
  536. Organization: Pacesetter Systems Inc., Sylmar, CA
  537.  
  538. I built my own with the following:
  539.         MD01 Emulex SCSI controller (to ST506 drives)
  540.         Maxtor 85 meg drive
  541.         PC clone cabinet and power supply
  542.         cables - Apple's SCSI cable (DB25 to 50 pin centronics)
  543.                  50 pin centronics to 50 pin SCSI connector (I
  544.                  forget what those are called; the 2 row of 25
  545.                  pins on the controller) using flat ribbon cable
  546.  
  547. I used the Emulex controller because that was the one that I had on my
  548. UNIX system before I got another hard disk with a built in controller.
  549. The Emulex controller goes for $200 or so I think (not cheap) and can
  550. handle 2 hard disks (though the software driver doesn't know how to use
  551. it).  If I had to start from scratch, I'd probably get the Adaptec
  552. controller for $100 or so.
  553.  
  554. The Maxtor drive I got went for around $900 which is about the going
  555. price at that time (within the $10/meg that I was looking at anyways).
  556.  
  557. PC clone cabinet - $35 power supply - $65 (I think it was a 150 watt
  558. supply; more than enough
  559.         for the drive and controller; I'm not sure if a cheapie 65
  560.         watt one would have worked but I'm possibly thinking of putting
  561.         another drive in there)
  562.         [at least there's one good thing about PC clones... cheap
  563.          hardware; you can buy a single hard disk cabinet and power
  564.          supply and it will cost more than the clone stuff; though
  565.          the clone stuff is bigger than you'd need for bare bones;
  566.          I just set my clone case on its side]
  567.  
  568. I'm currently trying to implement Apple's SCSI driver to work with my
  569. system.  IM Vol 4 and 5 gives details of what's required. Also, MacTutor
  570. had a few articles about how to do this.  Check the Jan 88 issue of
  571. MacTutor for details on modifying Apple's driver.  There's also a few
  572. public domain drivers out there but I don't know of any.  You should
  573. also look at Apple's Tech notes on SCSI information if you're starting
  574. from scratch.
  575.  
  576. ****************************************************************************
  577.  
  578. >From: jgh@atom.oz.au (John G. Haub)
  579.  
  580. Dear Nasser,
  581.  
  582.         It's good to see that I'm not the only fool contemplating such a
  583. project. Here in Oz hard disks are still very expensive >= $A1500. So it
  584. appears an attractive project.
  585.  
  586.         In my case I've probably narrowed my requirements down a little  but
  587. still I would be very grateful to hear about any information that you
  588. might receive. I intend using two Epson 20Mb winchesters, which I
  589. understand are a  fairly generic hard disk although not one of the more
  590. recognised brands such Segate (the reason being I got them at the right
  591. price).
  592.  
  593.         I've read the Feb '87 Mactutor article 'build your own SCSI hard disk'
  594. by Tim Standing and have spoken to a few people here in Oz and believe
  595. that just about any SCSI controller will do however I'v been informed
  596. that the real problem(s) is to develop software for formating the disk
  597. and installing a SCSI driver which will work with the appropriate
  598. controller. Tim published the software for the device that he built and
  599. I have a copy of that software. So consequently I have been specifically
  600. chasing the controller that he used. I've had very little luck here in
  601. Oz locating such a board, the one piece of luck that I had proved to be
  602. prohibitively expensive (~$500 A). A friend of  mine at Standford Uni
  603. over your way has found that Wyle Labs sell the  appriate board for $156
  604. US (much cheaper for me to import one) and he is still chasing round for
  605. a lower price. The particular board that I am interested in is Adaptec
  606. model ACB-4000A.
  607.  
  608.         As I said before, any information that you dig up would be greatly
  609. appreciated down here in Oz.
  610.  
  611. ****************************************************************************
  612.  
  613.  
  614. ------------------------------
  615.  
  616. From: dorourke@polyslo.UUCP (David M. O'Rourke)
  617. Subject: Re: Getting started in Mac programming...
  618. Date: 19 May 88 04:05:44 GMT
  619. Organization: Cal Poly State University -- San Luis Obispo
  620.  
  621. In article <321@piring.cwi.nl> guido@cwi.nl (Guido van Rossum) writes:
  622. >I'd like to make a comparison between LightspeedC (LSC) and MPW.
  623.  
  624.   Continues on with an EXCELLENT comparison of LSC vs. MPW.  One of the
  625. best I've seen, listed some things I've never seen before.
  626.  
  627. >As far as I know, neither system has much debugging support beyonde
  628. >generating symbols for Macsbug.
  629.  
  630.   I think one of the RUMORED features of MPW 3.0 will be souce level
  631. debugging.
  632.  
  633.   The one thing Mr. van Rossum leaves out is the fact that MPW supports
  634. more than just C, although C is the choice of many programmers there are
  635. other languages, and MPW supports most of them.  Also I've found MPW to
  636. be quite useable on a 2 meg machine with a 20meg harddisk.  And you
  637. can't deny the power of it's Unix style shell and the ability to add
  638. tools to the shell just like in Unix.
  639.  
  640.    Although LSC is fast, MPW is complete.
  641.  
  642.    I have also heard rumors that many of the Macintosh compiler
  643. companies are planning versions of there compilers to run under MPW, so
  644. you not only have a choice of languages you *MIGHT* soon have a choice
  645. of who's compiler you can use.  This has  already happend in the Modula
  646. Market, so why not Pascal, C, ect..
  647.  
  648.    Both enviroments are very good, but I've gotten used to MPW and now I
  649. find it difficult to use anything else, what no shell scripts?  Where
  650. are my shell variables, where are the user defined menus, no make
  651. facility, my god are we working in the stone ages here?
  652.  
  653.  
  654. David M. O'Rourke
  655. --
  656. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  657. | dorourke@polyslo | Disclaimer:  All opinions in this message are mine, but  |
  658. |                  |              if you like them they can be yours too.     |
  659. |                  |              Besides I'm just a student so what do I     |
  660. |                  |              know!                                       |
  661. |-----------------------------------------------------------------------------|
  662. |    When you have to place a disclaimer in your mail you know it's a sign    |
  663. | that there are TOO many Lawyer's.                                           |
  664. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  665.  
  666.  
  667. ------------------------------
  668.  
  669. From: dorourke@polyslo.UUCP (David M. O'Rourke)
  670. Subject: Re: Writing PICT files
  671. Date: 19 May 88 04:07:27 GMT
  672. Organization: Cal Poly State University -- San Luis Obispo
  673.  
  674. In article <397@hudson.acc.virginia.edu> wrp@biochsn.acc.Virginia.EDU
  675. (William R. Pearson) writes:
  676. >       Given a PicHandle, how does one write a PICT file that can be
  677. >edited by a drawing program?  Pointers to appropriate references will be
  678. >appreciated.
  679.  
  680.    Heres some pascal style code that might help.  This assumes that
  681. you've already generated the picture and have a valid handle to play
  682. with.
  683.  
  684. function WritePicture (thePictHandle : PicHandle): BOOLEAN;
  685.   var
  686.     FileErr      : OSErr;
  687.     PictLength   : LONGINT;
  688.     FileRefNum   : INTEGER;
  689.     FileRecord   : SFReply;
  690.     PutFilePoint : Point;
  691.     FileFndrInfo : FInfo;
  692.   begin
  693.     {First we need to get a File Name from the user.  To do this we're
  694. going}
  695.     {to use the standard file package from Volume I of inside Mac.  I
  696. have
  697.      put constants in some position that should be variables, please
  698. extend
  699.      this code to calculate screen position, prompt, ect. at run time,
  700. for
  701.      now this illustrates the concept}
  702.  
  703.     PutFilePoint.v := 30;
  704.     PutFilePoint.h := 50;  {This value really should be calculated based
  705. on
  706.                             the screen size from ScreenBits.bounds}
  707.     SFPutFile(PutFilePoint, 'Please type a file Name', 'PictFile.pict',
  708.               nil, FileRecord);
  709.  
  710.     {Now that we have an output file name, and record lets use it}
  711.     FileErr := GetFInfo(FileRecord.fName, FileRecord.vRefNum,
  712.                         FileFndrInfo);
  713.     if FileErr = fnfErr then
  714.       begin
  715.         FileErr := Create(FileRecord.fName, FileRecord.vRefNum,
  716. YourCreator,
  717.                           'PICT');
  718.         if FileErr <> noErr then
  719.           begin
  720.             Do_Something_To_Report_the_problem;
  721.           end;  {if FileErr <> noErr}
  722.        end {if FileErr = fnfErr}
  723.      else
  724.        begin
  725.          FileFndrInfo.Type := 'PICT';
  726.          FileErr := SetFInfo(FileRecord.fName, FileRecord.vRefNum,
  727.                              FileFndrInfo);
  728.        end; {else}
  729.  
  730.      FileErr := FSOpen(FileRecord.fName, FileRecord.vRefNum,
  731. FileRefNum);
  732.         if FileErr <> noErr then
  733.           begin
  734.             Do_Something_To_Report_the_problem;
  735.           end;  {if FileErr <> noErr}
  736.  
  737.      FileErr := SetFPos (FileRefNum, fsFromStart, 0);
  738.         if FileErr <> noErr then
  739.           begin
  740.             Do_Something_To_Report_the_problem;
  741.           end;  {if FileErr <> noErr}
  742.  
  743.      PictLength := GetHandleSize(Handle(thePictHandle));
  744.  
  745.      HLock(Handle(thePictHandle));
  746.      FileErr := FSWrite(FileRefNum, PictLength, @thePictHandle^^);
  747.         if FileErr <> noErr then
  748.           begin
  749.             Do_Something_To_Report_the_problem;
  750.           end;  {if FileErr <> noErr}
  751.  
  752.      FileErr := SetEOF(FileRefNum, PictLength);
  753.         if FileErr <> noErr then
  754.           begin
  755.             Do_Something_To_Report_the_problem;
  756.           end;  {if FileErr <> noErr}
  757.  
  758.      HUnLock(Handle(thePictHandle));
  759.  
  760.      FileErr := FSClose(FileRefNum);
  761.         if FileErr <> noErr then
  762.           begin
  763.             Do_Something_To_Report_the_problem;
  764.           end;  {if FileErr <> noErr}
  765.  
  766.      if FileErr = noErr then
  767.        WritePicture := True
  768.      else
  769.        WritePicture := False;
  770.  
  771.      {Set the value of the function to indicate success/falure}
  772.    end; {WritePicture}
  773.  
  774.  
  775.   This codes isn't perfect, but it should give you a rough idea about
  776. how to approach the problem.  As far as readings go I'd recommend that
  777. you check chapter 20 of vol I, chap. 5 of volume 1, and chap. 4 in vol
  778. II, those should help matter some what.
  779.    Hope it helps
  780.  
  781.  
  782. David M. O'Rourke
  783. --
  784. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  785. | dorourke@polyslo | Disclaimer:  All opinions in this message are mine, but  |
  786. |                  |              if you like them they can be yours too.     |
  787. |                  |              Besides I'm just a student so what do I     |
  788. |                  |              know!                                       |
  789. |-----------------------------------------------------------------------------|
  790. |    When you have to place a disclaimer in your mail you know it's a sign    |
  791. | that there are TOO many Lawyer's.                                           |
  792. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  793.  
  794.  
  795. ------------------------------
  796.  
  797. From: mkent@dewey.soe.berkeley.edu (Marty Kent)
  798. Subject: Anyone using pcl (clos) under Allegro Common Lisp?
  799. Date: 19 May 88 12:44:08 GMT
  800. Organization: School of Education, UC-Berkeley
  801.  
  802. Is anyone out there doing anything with pcl (CLOS) under Allegro common
  803. lisp? I've recently gotten the sources from parcvax, and I'm interested
  804. in the possibility of rewriting a bunch of code I've done in Object
  805. Lisp, in pcl. (Got that?)
  806.  
  807. One reason I'd like to do this is that I'd expect to get a substantial
  808. speed increase. The Allegro documentation says that Object Lisp is not
  809. to be expected to run at high speed, but what about the implementation
  810. of pcl? Since it's still in some kind of early state of development,
  811. what kind of performance can one expect from the current version? I'd be
  812. very interested to hear from anyone who's actually done any measured
  813. comparisons between the two systems.
  814.  
  815. Another factor possibly in pcl's favor is that it's supposedly on the
  816. way to becoming a standard, while Object Lisp's future seems to be less
  817. than rosy... Do you feel pcl is in fact emerging as a standard like
  818. common lisp (I mean widely accepted like common lisp, not necessarily
  819. funky like common lisp :-) or are there other lisp object extension
  820. systems clearly "in the running?"
  821.  
  822. I'd be interested in hearing from anyone with thoughtful stuff to say
  823. about these things.
  824.  
  825. Marty Kent      Sixth Sense Research and Development
  826.                 415/642 0288    415/548 9129
  827.                 MKent@dewey.soe.berkeley.edu
  828.                 {uwvax, decvax, inhp4}!ucbvax!mkent%dewey.soe.berkeley.edu Kent'
  829. s
  830. heuristic: Look for it first where you'd most like to find it.
  831.  
  832.  
  833. ------------------------------
  834.  
  835. From: mkent@dewey.soe.berkeley.edu (Marty Kent)
  836. Subject: "Asynchronous" processing in Allegro Common Lisp?
  837. Date: 19 May 88 12:47:31 GMT
  838. Organization: School of Education, UC-Berkeley
  839.  
  840.  
  841.    Are there any functions in Allegro that are subject to return before
  842. all their work has actually been completed? For instance, I can imagine
  843. the possibility that a function might queue something to be handled in a
  844. Mac operating system queue, and then return immediately afterward,
  845. without any guarantee that the os had already handled that processing.
  846.  
  847.    I'm curious about whether it's possible for (window-close) to return
  848. while the image of the window is still visible on the screen. Does
  849. anyone *know*?
  850.  
  851. Marty Kent      Sixth Sense Research and Development
  852.                 415/642 0288    415/548 9129
  853.                 MKent@dewey.soe.berkeley.edu
  854.                 {uwvax, decvax, inhp4}!ucbvax!mkent%dewey.soe.berkeley.edu Kent'
  855. s
  856. heuristic: Look for it first where you'd most like to find it.
  857.  
  858.  
  859. ------------------------------
  860.  
  861. From: mcconnel@zodiac.ads.com (Chris McConnell)
  862. Subject: Re: Anyone using pcl (clos) under Allegro Common Lisp?
  863. Date: 19 May 88 17:43:22 GMT
  864. Organization: Advanced Decision Systems, Mt. View, CA (415) 960-7300
  865.  
  866.  
  867. The current version of PCL is implementing most of the Common Lisp
  868. Object System (CLOS).  This will be the Object Oriented Programming
  869. standard for Common Lisp.  I believe it will be officially approved
  870. sometime in June.
  871.  
  872. PCL is fairly portable.  I plan to bring it up in Allegro in the next
  873. month.  If you accept the most generic implementation, it should already
  874. run in Allegro.  (In fact, it may even have optimizations already since
  875. Allegro is really Franz and it already runs in Franz.) There are
  876. numerous ways to get it to run faster on a given implementation, but
  877. modifying the PCL code requires a very good knowledge of Lisp.  I have
  878. done a lot of it fixing bugs and adding features, and I can tell you
  879. that it is no picnic.
  880.  
  881. I ran some benchmarks a while ago on a Symbolics and a Sun running
  882. Lucid.  The speed was better than I thought it would be for an early and
  883. portable implementation.  Creation is slow, but execution speed of
  884. generic functions is very good.  (Some of this is due to the caching
  885. mechanism that makes more recent methods faster.)  We developed an image
  886. understanding environment using it, so the speed can't be too slow!
  887.  
  888. I have been working in CLOS for a year (> 25,000 lines), and I have to
  889. say that even in its presently incomplete state that I love it.  I have
  890. worked extensively in Flavors, an in house system called SOPE and some
  891. in Smalltalk.  CLOS is far and away my favorite.  Multiple specializers
  892. are great, especially on normal Lisp objects.  The spec takes great
  893. pains to make all of the hooks that are needed available and public
  894. while still allowing implementations to do all of the things that are
  895. required to make things run fast.
  896.  
  897.  
  898. ------------------------------
  899.  
  900. From: jas@cadre.dsl.PITTSBURGH.EDU (Jeffrey A. Sullivan)
  901. Subject: Re: Anyone using pcl (clos) under Allegro Common Lisp?
  902. Date: 19 May 88 19:11:29 GMT
  903. Organization: Decision Systems Lab., Univ. of Pittsburgh, PA.
  904.  
  905. In article <24158@ucbvax.BERKELEY.EDU>, mkent@dewey.soe.berkeley.edu
  906. (Marty Kent) writes:
  907. > Another factor possibly in pcl's favor is that it's supposedly on the way to
  908. Well, PCL is migrating toward a full implementaiton of CLOS (the Common
  909. Lisp Object System), but it aint QUITE there yet.  It is, however, quite
  910. usable. And very powerful.  I know that there have been some
  911. optimizations in it (I read the code), but there are no broad-based
  912. ones, and I can not vouch for its speed.  I am using PCL entirely in a
  913. project of mine, and haven't had any complaints, but I am not concerned
  914. with efficiency at this time.
  915.  
  916. CLOS _is_ the standard OOPS for CL, so using it is no bad idea.  There
  917. is no doubt that CLOS (of which PCL is slowly implemeting) is the only
  918. OOPS officially supported by CL, so don't worry.
  919.  
  920. There is, however, a LOT of code to CLOS/PCL, and it takes quite a tot
  921. of memory, while OL doesn't.  Note that OL's future is not so bad, Coral
  922. will almost definitely implement a copy of OL in CLOS (it's not too
  923. hard...) just for compatibility's sake.
  924.  
  925. --
  926. ..........................................................................
  927. Jeffrey Sullivan                          | University of Pittsburgh
  928. jas@cadre.dsl.pittsburgh.edu              | Intelligent Systems Studies Program
  929. jasper@PittVMS.BITNET, jasst3@cisunx.UUCP | Graduate Student
  930.  
  931.  
  932. ------------------------------
  933.  
  934. From: matthews@eleazar.dartmouth.edu (Jim Matthews)
  935. Subject: Re: suppress display of password entry
  936. Date: 19 May 88 14:17:23 GMT
  937. Organization: Dartmouth College, Hanover, NH
  938.  
  939. In article <536@sdacs.ucsd.EDU> wade@sdacs.ucsd.EDU (Wade Blomgren)
  940. writes:
  941. >
  942. >What is the best (easiest) way to allow entry of a password on the screen
  943. >while suppressing the display of the actual characters in the
  944. >edittext item?
  945.  
  946. It actually isn't very difficult to intercept the key events and keep  a
  947. hidden copy of the password string.  It isn't necessary to remember any
  948. context since you have access to the TextEdit record, and it tells you
  949. what the current selection is.  The following routine is a filter for a
  950. name/password dialog box.  It displays bullets (ala AppleShare) and
  951. stores the real password in a global string, pwStr.  It also handles
  952. hitting return or enter.
  953.  
  954. { signonFilter -- dialog filter for doSignon, hides password } FUNCTION
  955. signonFilter (dp : DialogPtr;
  956.             VAR theEvent : EventRecord;
  957.             VAR itemHit : integer) : boolean;
  958.     CONST
  959.         nameItem = 3;
  960.         passwordItem = 4;
  961.         bs = $08;
  962.         tab = $09;
  963.         cr = $0D;
  964.         enter = $03;
  965.         larrow = $1C;
  966.         rarrow = $1D;
  967.         uparrow = $1E;
  968.         downarrow = $1F;
  969.     VAR
  970.         dpeek : DialogPeek;
  971.         theChar : char;
  972.         theStr : Str255;
  973.         selStart, selEnd : integer;
  974.         h : Handle;
  975.         itemType : integer;
  976.         box : Rect; BEGIN
  977.     signonFilter := false;
  978.     dpeek := DialogPeek(dp);
  979.     IF ((theEvent.what = keydown) OR (theEvent.what = autoKey)) THEN
  980.         IF (dpeek^.editField = passwordItem - 1) THEN
  981.         BEGIN
  982.             theChar := char(BitAnd(theEvent.message, charCodeMask));
  983.             selStart := dpeek^.textH^^.selStart;
  984.             selEnd := dpeek^.textH^^.selEnd;
  985.             CASE ord(theChar) OF
  986.                 bs :                { Backspace }
  987.                     BEGIN
  988.                         IF selEnd = selStart THEN  { back over a
  989. character }
  990.                         BEGIN
  991.                             IF selStart > 0 THEN
  992.                                 pwStr := concat(copy(pwStr,1, selStart -
  993. 1),
  994.                                                   copy(pwStr, selStart +
  995. 1,
  996.                                                    length(pwStr) -
  997. selStart));
  998.                         END
  999.                         ELSE            { delete the selection }
  1000.                             pwStr := concat(copy(pwStr, 1, selStart),
  1001.                              copy(pwStr, selEnd + 1,
  1002.                                    length(pwStr) - selEnd));
  1003.                     END;
  1004.                 cr, enter :     { Return or Enter -- treat as "OK }
  1005.                     BEGIN
  1006.                         itemHit := ok;
  1007.                         signonFilter := true;
  1008.                     END; { cr, enter }
  1009.                 tab, uparrow, downarrow, rarrow, larrow :
  1010.                     ;        { just pass on tabs & arrows }
  1011.                 OTHERWISE   { "normal" character }
  1012.                     BEGIN        { remember character, insert a bullet }
  1013.                         pwStr := concat(copy(pwStr, 1, selStart),
  1014.                          theChar,
  1015.                          copy(pwStr, selEnd + 1, length(pwStr) -
  1016. selEnd));
  1017.                         theEvent.message :=
  1018.                          BitAnd(theEvent.message, $FFFFFF00) + ord('*');
  1019.                     END; { normal character }
  1020.             END; { case ord(theChar) of }
  1021.         END { in password field }
  1022.         ELSE     { not in password field -- still check for cr, enter }
  1023.             CASE BitAnd(theEvent.message, charCodeMask) OF
  1024.                 cr, enter :
  1025.                     BEGIN
  1026.                         itemHit := ok;
  1027.                         signonFilter := true;
  1028.                     END; { cr, enter }
  1029.                 OTHERWISE
  1030.                     ;
  1031.             END; { case BitAnd } END; { signonFilter }
  1032.  
  1033. The bullet is replaced with an asterisk, since it's an 8-bit character.
  1034.  
  1035. Hope this helps,
  1036. --
  1037. Jim Matthews
  1038. Software Development
  1039. jim.matthews@dartmouth.edu
  1040.  
  1041.  
  1042. ------------------------------
  1043.  
  1044. From: wetter@tybalt.caltech.edu (Pierce T. Wetter)
  1045. Subject: Re: Utilities for RGB to 8-Bit
  1046. Date: 19 May 88 19:53:34 GMT
  1047. Organization: California Institute of Technology
  1048.  
  1049.      Sure, get one pixel at a time from your unix file, then SetRGBColor
  1050. to
  1051.   red*256, green*256, blue*256, then SetPixel(x,y). This saves
  1052. programmer time
  1053.   at the expense of user time.
  1054.  
  1055.      You might also want to do dithering, best simple dither is 50% of
  1056. one
  1057.   color + 50% of another color, but I don't know any dithering
  1058. algorithms off  the top of my head.
  1059.  
  1060. Pierce WEtter
  1061. --
  1062. ----------------------------------------------------------------
  1063. wetter@tybalt.caltech.edu     Race For Space Grand Prize Winner.
  1064. -----------------------------------------------------------------
  1065.    Useless Advice #986: Never sit on a Tack.
  1066.  
  1067. ------------------------------
  1068.  
  1069. End of Usenet Mac Digest
  1070. ************************
  1071.  
  1072. ACTION>